import request from '@/utils/request'

// 获取首页天气数据
export function getWeatherList(data) {
  return request({
    url: '/api/getWeatherList',
    method: 'post',
    data
  })
}

export function getQueryCityWeather(data) {
  return request({
    url: '/api/getQueryCityWeather',
    method: 'post',
    data
  })
}

export function getHistoryWeather(data) {
  return request({
    url: '/api/getHistoryWeather',
    method: 'post',
    data
  })
}
